#include "ATMOS_PacketListener.h"
#include "ATMOS_Packet.h"
#include "ATMOS_NetworkManager.h"

#include <sstream>

using namespace ATMOS;

PacketListener::PacketListener() :
mNetworkManager( 0 )
{
}

PacketListener::PacketListener( NetworkManager *networkManager ) :
mNetworkManager( networkManager )
{
}

PacketListener::~PacketListener()
{
} 

NetworkManager *PacketListener::getNetworkManager()
{
	ATMOS_ASSERT(mNetworkManager);
	return mNetworkManager;
}

void PacketListener::_setNetworkManager( NetworkManager *networkManager )
{
	mNetworkManager = networkManager;
}